﻿using QFramework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UnityEngine;
using UnityEngine.Tilemaps;

namespace projectgame
{
    public interface ITool
    {
        string Name { get; set; }
        bool Selectable(ToolData toolData);
        void Use(ToolData toolData);
    }

    public class ToolData
    {
        public EasyGrid<SoilData> ShowGrid { get; set; }
        public Vector3Int CellPos { get; set; }
        public Tilemap SoilTilemap { get; set; }
        public TileBase Pen { get; set; }
        public Vector3 GridCenterPos { get; set; }
    }
}
